package org.oaix.utils;

/**
 * 通用常量信息
 * @author Malcolm
 */
public class Constants {
    /**
     * 超级管理员
     */
    public static final Long SUPER_ADMIN_ID = 1L;
    /**
     * UTF-8 字符集
     */
    public static final String UTF8 = "UTF-8";

    /**
     * GBK 字符集
     */
    public static final String GBK = "GBK";

    /**
     * RMI 远程方法调用
     */
    public static final String LOOKUP_RMI = "rmi://";

    /**
     * LDAP 远程方法调用
     */
    public static final String LOOKUP_LDAP = "ldap://";

    /**
     * http请求
     */
    public static final String HTTP = "http://";

    /**
     * https请求
     */
    public static final String HTTPS = "https://";

    /**
     * content-type:application/json
     */
    public static final String APPLICATION_JSON = "application/json";

    /**
     * content-type
     */
    public static final String CONTENT_TYPE = "content-type";

    /**
     * Content-Type
     */
    public static final String CONTENT_TYPE_UP = "Content-Type";

    /**
     * application/vnd.ms-excel
     */
    public static final String APPLICATION_EXCEL = "application/vnd.ms-excel";

    public static final Integer ZERO = 0;

    /**
     * http
     */
    public static final String HTTP_START = "http";

    /**
     * 左括号
     */
    public static final String BRACKET_LEFT = "[";
    /**
     * 有括号
     */
    public static final String BRACKET_RIGHT = "]";

    /**
     * 参数拼接
     */
    public static final String SPLICE = "&";

    /**
     * key-value拼接
     */
    public static final String KV_SPLICE = "=";

}
